package com.hxl.demo.tools;

import java.io.Serializable;
import java.util.List;

/**
 * 分页返回对象
 */
public class PageInfo<T> implements Serializable {
    //总条数
    private int total;
    //返回的数据
    private List<T> data;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }

}
